<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.*"%>
<%
        String sID = request.getParameter("ID");
        String sWDBT = "";
        String sWDNR = "";

        DataConn dataConn = new DataConn();
        QueryData queryData = new QueryData(dataConn);
        queryData.setMultRecordSet("OA_WDXX", "WDBT,WDNR", "ID="+sID);

        ResultSet rs = queryData.getResultSet();
        try {
                if (rs.next()) {
                        sWDBT = rs.getString("WDBT");
                        sWDNR = rs.getString("WDNR");
                        %><table width="100%"><tr><td align="center"><%=sWDBT%></td></tr></table><%
                        //out.println(sWDBT);
                        out.println(sWDNR);
                }
        }
        catch(Exception e) {}

%>
<%
        try {
                if (dataConn != null) {
                        dataConn.close();
                }
        }
        catch(Exception e) {}
%>
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
<script language="JavaScript">
        wb.execwb(6,6);
        close();
</script>
